function func(obj,logo,fileName,fileSize){
    for(var i = 0; i<list_size; i++)
    {
        switch(list_type[i])
        {
        case "0":
            obj.insert(i, {"titre":list_name[i],size :list_fileSize[i],modified: list_fileModified[i],icon_img: "",file_number: i,file:true})
            break;
        case "1":       //Directory
            obj.insert(i, {"titre":list_name[i],size :"1",modified: list_fileModified[i],icon_img: "qrc:/folder",file_number: i,file:false})
            break;
        case "2":           //Folder
            obj.insert(i, {"titre":list_name[i],size :list_fileSize[i],modified: list_fileModified[i],icon_img: "qrc:/file",file_number: i,file:true})
            break;
        default:
            console.debug("[QML] Erreur script")
            break;
        }

    }
}
